Event Detection Logic In The Mems Accelerometer Using The Sensortile And The St Bluems App